Agent Permission System#13
Agent Permission System#13google-labs-jules[bot] wants to merge 2 commits intoadvanced-workflowsfrom
Conversation
- Added `PermissionService` backend logic for enforcing tool execution rules. - Implemented `ask_permission` tool for agent autonomy. - Updated `ResponseProcessor` to intercept tool calls in Strict mode or when agents ask for permission. - Added Frontend UI for configuring permissions (whitelist/blacklist/modes). - Added Frontend Chat UI for approving/denying permission requests. - Updated System Prompt to inform agents of permission capabilities.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
…ide/Strict modes - Backend: Added `PermissionService` to enforce tool execution policies (Blacklist > Whitelist > Mode). - Backend: Updated `ResponseProcessor` to intercept tool calls in 'Strict' mode or when `ask_permission` is used, pausing execution and saving a permission request message. - Backend: Added `ask_permission` tool for agent autonomy. - Backend: Created API endpoints for approving/denying permissions; approval triggers a "resume" (retry) flow. - Frontend: Implemented `AgentPermissionsConfig` UI for managing permission modes, whitelists, blacklists, and per-tool overrides. - Frontend: Added `PermissionRequestView` chat component for reviewing requests and resuming execution. - Config: Updated system prompt to inform agents of their permission autonomy capabilities.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This PR implements a comprehensive permission control system for AI agents.
Key Features:
Permission Modes:
Configuration:
Flow:
tool_permission_requeststatus message.Architecture:
backend/core/services/permission_service.pyhandles logic.backend/core/agentpress/response_processor.pymodified to intercept execution.PR created automatically by Jules for task 1802877528802644627 started by @Logrui